<HTML><HEAD><TITLE>all_min_cuts(+Graph, +CapacityArg, +SourceNode, +SinkNode, -MaxFlowValue, -MaxFlowEdges, -MinCuts, -MinCutEdges)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(all_min_cuts)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>all_min_cuts(+Graph, +CapacityArg, +SourceNode, +SinkNode, -MaxFlowValue, -MaxFlowEdges, -MinCuts, -MinCutEdges)</H1>
Curet et al, algorithm for generating all minimum-cost cuts
<DL>
<DT><EM>Graph</EM></DT>
<DD>a graph structure, no parallel edges, e(Src,Dest,EdgeData)
</DD>
<DT><EM>CapacityArg</EM></DT>
<DD>which argument of EdgeData to use as edge capacity (integer), (0 if EdgeData is a single number and -1 if every edge capacity is 1)
</DD>
<DT><EM>SourceNode</EM></DT>
<DD>source node number (integer)
</DD>
<DT><EM>SinkNode</EM></DT>
<DD>sink node number (integer)
</DD>
<DT><EM>MaxFlowValue</EM></DT>
<DD>value of the maximum flow
</DD>
<DT><EM>MaxFlowEdges</EM></DT>
<DD>list denoting edges with non-zero flow (form: Flow-Edge)
</DD>
<DT><EM>MinCuts</EM></DT>
<DD>list of all minimum cost cutsets (each cutset is represented by a list of nodes belonging to the source-side of the cut)
</DD>
<DT><EM>MinCutEdges</EM></DT>
<DD>list of all minimum cost cutsets (each cutset is represented by a list of edges that separate the source-side and the sink-side of the cut)
</DD>
</DL>
<H2>Description</H2>
This predicate provides all minimal cost cutsets for a max flow problem in a graph between a source and a sink node. It returns the maximal flow value, edges with non-zero flow in the optimal solution, and a list of all minimum cost cutsets corresponding to that flow value. The results are given both as node lists (nodes on the source side of the cut), and as edge lists (edges belonging to the cut), to simplify use of the predicate in situations where either of the output formats is preferred.
<H2>See Also</H2>
<A HREF="../../lib_public/max_flow/max_flow-5.html">max_flow : max_flow / 5</A>, <A HREF="../../lib_public/max_flow/max_flow-7.html">max_flow : max_flow / 7</A>, <A HREF="../../lib_public/max_flow_eplex/max_flow_eplex-5.html">max_flow_eplex : max_flow_eplex / 5</A>, <A HREF="../../lib_public/max_flow_eplex/max_flow_eplex_dual-5.html">max_flow_eplex : max_flow_eplex_dual / 5</A>, <A HREF="../../lib_public/max_flow_eplex/max_flow_eplex_dual-7.html">max_flow_eplex : max_flow_eplex_dual / 7</A>, <A HREF="../../lib_public/all_min_cuts/all_min_cuts-8.html">all_min_cuts / 8</A>, <A HREF="../../lib_public/all_min_cuts/all_min_cuts-9.html">all_min_cuts / 9</A>, <A HREF="../../lib_public/all_min_cuts/all_min_cuts_list-5.html">all_min_cuts_list / 5</A>, <A HREF="../../lib_public/all_min_cuts_eplex/all_min_cuts_eplex-7.html">all_min_cuts_eplex : all_min_cuts_eplex / 7</A>, <A HREF="../../lib_public/all_min_cuts_eplex/all_min_cuts_eplex-8.html">all_min_cuts_eplex : all_min_cuts_eplex / 8</A>
</BODY></HTML>
